package cn.huapu.power.energy.service.impl;

import cn.huapu.power.energy.bean.Transformerbaseinfot;
import cn.huapu.power.energy.bean.bo.DateParameterBo;
import cn.huapu.power.energy.bean.vo.DeviceDisVo;
import cn.huapu.power.energy.mapper.TransformerbaseinfotMapper;
import cn.huapu.power.energy.service.TransformerbaseinfotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 测试用户权限服务实现类
 * @author autogen
 *
 */
@Service
public class TransformerbaseinfotServiceImpl extends BaseServiceImpl<TransformerbaseinfotMapper, Transformerbaseinfot,Integer> implements TransformerbaseinfotService {

    @Override
    @Transactional(readOnly = true)
    public Transformerbaseinfot getByqrl(DateParameterBo da) {
        Transformerbaseinfot tr = mapper.getByqrl(da);
        return tr;
    }

    @Override
    @Transactional(readOnly = true)
    public List<DeviceDisVo> transDis(Integer clientId) {
        return mapper.transDis(clientId);
    }
}
